home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvitovdu / unix / c / makefile.bsd < prev    next >
Makefile  |  1990-10-01  |  4KB  |  116 lines

  1. # Makefile for DVItoVDU in C.
  2. #
  3. # Mark J. Hewitt  Kernel Technology Limited  13-Sep-89
  4. #
  5. # sccsid = @(#)Makefile.BSD    1.1
  6. #
  7. SHELL=/bin/sh
  8. #
  9. # If your make supports parallel operation - PARALLEL should be set to &
  10. PARALLEL=
  11. #PARALLEL=&
  12. #
  13. # System
  14. SYSTEM=BSD
  15. #SYSTEM=USG
  16. #
  17. # Define DIRCALLS=NO_DIRCALLS if you don't have mkdir(2) or rmdir(2)
  18. #DIRCALLS=NO_DIRCALLS
  19. DIRCALLS=OK_DIRCALLS
  20. #
  21. # Define FILESYSTEM=BSD_FILESYSTEM if you have a non-Berkeley OS with
  22. # long filenames.
  23. FILESYSTEM=BSD_FILESYSTEM
  24. #FILESYSTEM=USG_FILESYSTEM
  25. #
  26. # TTYIO should be bsdio for 4.2BSD, or usgio for System V
  27. TTYIO=bsdio
  28. #TTYIO=usgio
  29. #
  30. # Libraries required.  -lm is always needed.
  31. LIBS=-lm -lseq
  32. #LIBS=-lm -lmalloc
  33. #
  34. # lint options
  35. LINTOPT=-hc
  36. #LINTOPT=-c
  37. #
  38. # Pathnames used
  39. TMPDIR=/tmp
  40. PXLFONTDIR=/usr/local/lib/tex/fonts/pxl
  41. PKFONTDIR=/usr/local/lib/tex/fonts/pk
  42. HELPFILE=/usr/local/lib/tex/dvitovdu.hlp
  43. #
  44. # Name of final binary
  45. EXECNAME=dvi2vdu
  46. #
  47. # Other options to be set if necessary
  48. #USERFLAGS=-DDEBUG -g
  49. USERFLAGS=-O # -DVOIDPTR=int    # VOIDPTR is type for functions returning void
  50. #
  51. #
  52. ###############################################################################
  53. #
  54. # Should be no changes needed below this line
  55. #
  56. CFLAGS = $(USERFLAGS) -DTEMPAREA=\"$(TMPDIR)\" -DPXLAREA=\"$(PXLFONTDIR)\" \
  57.      -D$(SYSTEM) -D$(DIRCALLS) -DPKFONTDIR=\"$(PKFONTDIR)\" \
  58.      -D$(FILESYSTEM) -DHELPFILELOC=\"$(HELPFILE)\"
  59.  
  60. OBJ=aed512vdu.o dvitovdu.o falco5220e.o systemif.o vduif.o vt220vdu.o\
  61.     ansivdu.o pktopx.o pkreader.o pxlreader.o tek4010vdu.o vis500vdu.o\
  62.     vt640vdu.o dvireader.o regisvdu.o $(TTYIO).o vis550vdu.o screenio.o
  63.  
  64. SRC=aed512vdu.c dvitovdu.c falco5220e.c systemif.c vduif.c vt220vdu.c\
  65.     ansivdu.c pktopx.c pkreader.c pxlreader.c tek4010vdu.c vis500vdu.c\
  66.     vt640vdu.c dvireader.c regisvdu.c $(TTYIO).c vis550vdu.c screenio.c
  67.  
  68. HEADS=def.h dvireader.h dvitovdu.h screenio.h vduif.h systemif.h
  69.  
  70. all:    dvi2vdu
  71.  
  72. dvi2vdu:$(PARALLEL)    $(OBJ) $(HEADS) Makefile
  73.     $(CC) -o $(EXECNAME) $(OBJ) $(LIBS)
  74.  
  75. clean:
  76.     rm -f *.o $(EXECNAME) core *~
  77.  
  78. lint:
  79.     lint $(LINTOPT) $(CFLAGS) $(SRC)
  80.  
  81. lint-all:
  82.     lint *.ln $(LIBS)
  83.  
  84. tags:
  85.     etags $(SRC) $(HEADS)
  86.  
  87. aed512vdu.o : aed512vdu.c def.h /usr/include/stdio.h 
  88. ansivdu.o : ansivdu.c def.h /usr/include/stdio.h 
  89. bsdio.o : bsdio.c def.h /usr/include/stdio.h /usr/include/sgtty.h \
  90.   /usr/local/lib/gcc-include/sys/ioctl.h \
  91.   /usr/local/lib/gcc-include/sys/ttychars.h /usr/include/sys/ttydev.h \
  92.   /usr/include/signal.h 
  93. dvireader.o : dvireader.c /usr/include/math.h /usr/include/strings.h def.h \
  94.   /usr/include/stdio.h dvireader.h dvitovdu.h screenio.h 
  95. dvitovdu.o : dvitovdu.c def.h /usr/include/stdio.h /usr/include/strings.h \
  96.   /usr/include/fcntl.h /usr/include/ctype.h /usr/include/math.h dvitovdu.h \
  97.   dvireader.h screenio.h version.h
  98. falco5220e.o : falco5220e.c def.h /usr/include/stdio.h 
  99. pkreader.o : pkreader.c def.h /usr/include/stdio.h 
  100. pktopx.o : pktopx.c def.h /usr/include/stdio.h 
  101. pxlreader.o : pxlreader.c def.h /usr/include/stdio.h 
  102. regisvdu.o : regisvdu.c def.h /usr/include/stdio.h 
  103. screenio.o : screenio.c def.h /usr/include/stdio.h /usr/include/math.h \
  104.   screenio.h dvitovdu.h 
  105. systemif.o : systemif.c def.h /usr/include/stdio.h /usr/include/strings.h \
  106.   systemif.h 
  107. tek4010vdu.o : tek4010vdu.c def.h /usr/include/stdio.h 
  108. usgio.o : usgio.c def.h /usr/include/stdio.h /usr/include/signal.h \
  109.   /usr/include/fcntl.h /usr/include/termio.h
  110. vduif.o : vduif.c def.h /usr/include/stdio.h vduif.h /usr/include/ctype.h 
  111. vis500vdu.o : vis500vdu.c def.h /usr/include/stdio.h 
  112. vis550vdu.o : vis550vdu.c def.h /usr/include/stdio.h dvitovdu.h 
  113. vt220vdu.o : vt220vdu.c def.h /usr/include/stdio.h 
  114. vt640vdu.o : vt640vdu.c def.h /usr/include/stdio.h 
  115.  
  116.